package com.gln.bloger.service;

import com.gln.bloger.compass.SearchResultWapper;

public interface SearchService{
	
	/**
	 * search by query
	 * @param query
	 * @param currentPage
	 * @return
	 */
	public SearchResultWapper search(String query, int currentPage);
	/**
	 * index
	 * @return
	 */
	public long  index();

}
